package org.pine.manager.convertor;

import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.pine.api.beans.request.RoleQueryRequest;
import org.pine.api.beans.response.RoleQueryResponse;
import org.pine.common.convertor.EntityConvertor;
import org.pine.common.convertor.QueryConvertor;
import org.pine.manager.bo.RoleBo;
import org.pine.manager.query.RoleQuery;
import org.pine.model.entity.Role;

/**
 * 角色转换器
 *
 * @author pine
 * @version v1.0
 * @since 2025-04-19 15:02
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public abstract class RoleConvertor implements EntityConvertor<Role, RoleBo>,
        QueryConvertor<RoleBo, RoleQuery, RoleQueryRequest, RoleQueryResponse>, EnumConvertor {
}
